from tencentcloud.common import credential
from django.conf import settings

def getCredential():
    cred = credential.Credential(settings.QCLOUD_SECRETID, settings.QCLOUD_SECRETKEY)
    return cred

